import request from './axios'

// export const getData = () => request.get('https://jsonplaceholder.typicode.com/posts?_start=1&_limit=7')
export const getData = () => request.get('/api/getData')

export const getUserData = (start, limit) => request.get(`https://jsonplaceholder.typicode.com/users?_start=${start}&_limit=${limit}`)